﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Skyworth.CRM.Service.Entity
{
    [Serializable]
   public class Employee:BaseEntity
    {
        public Employee()
        { }

        #region Model
        private int _empId;
        private string _empName;
        private string _empCode;
        private int _deptId;
        private int _brId;
        private string _jobTitle;
        private string _email;
        private Boolean _status=true;
        private int _parentEmpId=0;
        private string _phone;
        private string _bankName = string.Empty;
        private string _bankNumber = string.Empty;
        #endregion

        public int EmpId
        {
            get { return _empId; }
            set { _empId = value; }
        }

        public string EmpName
        {
            get { return _empName; }
            set { _empName = value; }
        }

        public string EmpCode
        {
            get { return _empCode; }
            set { _empCode = value; }
        }

        public int DeptId
        {
            get { return _deptId; }
            set { _deptId = value; }
        }

        public int BrId
        {
            get { return _brId; }
            set { _brId = value; }
        }

        public string JobTitle
        {
            get { return _jobTitle; }
            set { _jobTitle = value; }
        }

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public int ParentEmpId
        {
            get { return _parentEmpId; }
            set { _parentEmpId = value; }
        }

        public string Phone
        {
            get { return _phone; }
            set { _phone = value; }
        }

        public string BankName
        {
            get { return _bankName; }
            set { _bankName = value; }
        }

        public string BankNumber
        {
            get { return _bankNumber; }
            set { _bankNumber = value; }
        }
    }
}
